home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Conversion / Convert_PICT / Testing / hex_tests / rgn=P.hex < prev    next >
Text File  |  1992-11-22  |  2KB  |  28 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 11 01                        % verson
  6. 01 000A 0000 0000 00FF 00FF    % Clip region.
  7. 30 0000 0000 00FF 00FF        % draw bounding rect
  8.  
  9. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  10. %
  11. %    Region test: P
  12. %        Test whether the cliping rectangle at the start of a region is really a clipping
  13. %        rectangle.  make this rectangle not the same shape as the region we are
  14. %        painting, and see whether this clips its bounds.  Describe a wide 4 pixel tall
  15. %        retangular region, with a clip that is perpendicular to is, and only oerlaps in
  16. %        square in center.
  17. %
  18. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  19.  
  20.  
  21. % paint a region
  22. 81 001C 0020 0020 00D0 00D0
  23.     0060 0000 00FF 7FFF
  24.     00A0 0000 00FF 7FFF
  25.     7FFF
  26.     
  27. FF    % end
  28.